package net.hualisheng.netty.serialize;

import java.io.Serializable;

public class Response implements Serializable{
	private static final long serialVersionUID = 1L;
	private String id;
	private String msg;
	private String code;
	private String resp = "resp";

	
	public Response() {
		super();
	}

	public Response(String id, String msg, String code) {
		super();
		this.id = id;
		this.msg = msg;
		this.code = code;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getResp() {
		return resp;
	}

	public void setResp(String resp) {
		this.resp = resp;
	}

	@Override
	public String toString() {
		return "Response [id=" + id + ", msg=" + msg + ", code=" + code + ", resp=" + resp + "]";
	}

}
